package com.yaolifei.flower.core;

public class Role implements PermissionMaster {
	private int roleId;
	private int groupId;
	private String name;
	private int order;
	private String description;

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public int getGroupId() {
		return groupId;
	}

	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public int getMasterId() {
		return roleId;
	}

	@Override
	public MasterType getMasterType() {
		return MasterType.ROLE;
	}
}
